package com.wenyu.wenyuyuedu.utils;

import android.content.Context;

/**
 * Created by lenovo on 2017/3/23.
 */

public class RxPermissions {
    static RxPermissions sSingleton;
    private Context mCtx;

    public RxPermissions() {

    }

    public static RxPermissions getInstance(Context ctx) {
        if (sSingleton == null) {
            sSingleton = new RxPermissions(ctx.getApplicationContext());
        }
        return sSingleton;
    }

    public RxPermissions(Context ctx) {
        mCtx = ctx;
    }
}
